package com.quanyan.user.mapper;

import com.quanyan.user.model.db.TbNewsTopic;
import com.quanyan.user.model.db.TbNewsTopicExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbNewsTopicMapper {
    int countByExample(TbNewsTopicExample example);

    int deleteByExample(TbNewsTopicExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbNewsTopic record);

    int insertSelective(TbNewsTopic record);

    List<TbNewsTopic> selectByExample(TbNewsTopicExample example);

    TbNewsTopic selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbNewsTopic record, @Param("example") TbNewsTopicExample example);

    int updateByExample(@Param("record") TbNewsTopic record, @Param("example") TbNewsTopicExample example);

    int updateByPrimaryKeySelective(TbNewsTopic record);

    int updateByPrimaryKey(TbNewsTopic record);
}